<?php

/**
 * 系统模块路由
 * @author xiaojian
 * @file system.php
 * @date 2018-5-29
 */

// 用户数据
$router->get('/user/count', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@userCount']);

// 提现数据
$router->get('/cash/count', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@cashCount']);

// 总额数据
$router->get('/money/count', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@moneyCount']);

// 本周用户数据
$router->get('/user/count/week', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@userCountWeek']);

// 本月用户数据
$router->get('/user/count/month', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@userCountMonth']);

// 本周提现数据
$router->get('/cash/count/week', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@cashCountWeek']);

// 本月提现数据
$router->get('/cash/count/month', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@cashCountMonth']);

// 本周总额数据
$router->get('/money/count/week', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@moneyCountWeek']);

// 本月总额数据
$router->get('/money/count/month', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@moneyCountMonth']);

// 财务统计
$router->get('/finance/statistics', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@financeStatistics']);

// 财务明细
$router->get('/finance/detail', ['middleware' => 'managerapi:data-count', 'uses' => 'InformationCountController@financeDetail']);